package com.dao;

import com.pojo.User;

import java.util.List;

public interface UserDao {
    //测试
    public List<User> findAll();
    //查询
    public User findById(int id);
    //删除
    public boolean deleteById(int id);
    //修改
    public int update(User user);
    //添加
    public void add(User user);
}
